package com.starlinkdt.common.enums;


import lombok.Getter;


/**
 * 审批状态枚举
 */
@Getter
public enum TaskStatusEnum {

    PENDING(1,"等待"),

    PROCESSING(2,"运行中"),

    SUCCESS(3,"成功"),

    FAIL(4,"失败"),

    NO_HANDLE(5,"超过最大重试次数后，不处理");


    private final int code;

    private final String description;

    TaskStatusEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }


}
